Craft\Minimee_LocalAssetModel::exists PHP 메소드

exists() 공개 메소드

public exists ( ) : Bool
리턴 Bool
    public function exists()
    {
        if ($this->_exists === null) {
            $realPath = IOHelper::fileExists($this->filenamePath);
            if ($realPath && $realPath !== $this->filenamePath) {
                $this->filenamePath = $realPath;
            }
            $this->_exists = (bool) $realPath;
        }
        return $this->_exists;
    }