src/Gaufrette/Core/Operator/LastModificationOperator.php
public function load(File $file, Adapter $adapter)
    {
        $time = $adapter->readLastModification($file->getName());

        if (null !== $time) {
            $file->setLastModification(\DateTime::createFromFormat('U', $time));
        }

        return $this;
    }
public function load(File $file, Adapter $adapter)
    {
        $time = $adapter->readLastModification($file->getName());

        if (null !== $time) {
            $file->setLastModification(\DateTime::createFromFormat('U', $time));
        }

        return $this;
    }
public function load ( File $ file , Adapter $ adapter ) { $ time = $ adapter -> readLastModification ( $ file -> getName ( ) ) ; if ( null !== $ time ) { $ file -> setLastModification ( \ DateTime :: createFromFormat ( 'U' , $ time ) ) ; } return $ this ; }
{@inheritdoc}
{