Newscoop\File\Manager\LocalManager::current PHP Method

current() public method

Implements Iterator::current
public current ( ) : Template
return Newscoop\Entity\Template
    public function current()
    {
        $file = new \SplFileObject(current($this->files));
        return $this->repository->getTemplate($file, $this->root);
    }