src/CodeGeneration/Filesystem/AbstractFilesystemItem.php
public function getSplFileInfo(): \SplFileInfo
    {
        if (null !== $this->splFileInfo && $this->path === $this->splFileInfo->getRealPath()) {
            return $this->splFileInfo;
        }
        $this->assertExists();

        return $this->createSplFileInfo();
    }
public function getSplFileInfo(): \SplFileInfo
    {
        if (null !== $this->splFileInfo && $this->path === $this->splFileInfo->getRealPath()) {
            return $this->splFileInfo;
        }
        $this->assertExists();

        return $this->createSplFileInfo();
    }
public function getSplFileInfo ( ) : \ SplFileInfo { if ( null !== $ this -> splFileInfo && $ this -> path === $ this -> splFileInfo -> getRealPath ( ) ) { return $ this -> splFileInfo ; } $ this -> assertExists ( ) ; return $ this -> createSplFileInfo ( ) ; }
Provide an SplFileInfo object, asserting that the path exists

@return \SplFileInfo
@throws DoctrineStaticMetaException
Provide an SplFileInfo object asserting that the path exists