<?php

namespace Velis\Model;

/**
 * Cacheable model interface
 *
 * Implement this interface in DataObject derived classes to
 * get cache functionality.
 *
 * @author Olek Procki <olo@velis.pl>
 */
interface Cacheable
{
    /**
     * @param mixed $objectId
     * @return static|static[]
     */
    public static function get($objectId);
}
