src/CodeGeneration/Filesystem/File.php
public function getSplFileObject(): \SplFileObject
    {
        $this->assertExists();
        if (null !== $this->splFileObject && $this->path === $this->splFileObject->getRealPath()) {
            return $this->splFileObject;
        }
        $this->splFileObject = new \SplFileObject($this->path);

        return $this->splFileObject;
    }
public function getSplFileObject(): \SplFileObject
    {
        $this->assertExists();
        if (null !== $this->splFileObject && $this->path === $this->splFileObject->getRealPath()) {
            return $this->splFileObject;
        }
        $this->splFileObject = new \SplFileObject($this->path);

        return $this->splFileObject;
    }
public function getSplFileObject ( ) : \ SplFileObject { $ this -> assertExists ( ) ; if ( null !== $ this -> splFileObject && $ this -> path === $ this -> splFileObject -> getRealPath ( ) ) { return $ this -> splFileObject ; } $ this -> splFileObject = new \ SplFileObject ( $ this -> path ) ; return $ this -> splFileObject ; }
Provide an SplFileObject object, asserting that the path exists

@return \SplFileObject
@throws \EdmondsCommerce\DoctrineStaticMeta\Exception\DoctrineStaticMetaException
Provide an SplFileObject object asserting that the path exists