public function retrieveFilenameOfCurrentClass()
    {
        // Inline cache [expensive]
        if (null === $this->getFilenameOfCurrentClass()) {

            // Inline cache [expensive]
            if (null === $debugBacktrace = $this->getDebugBacktrace()) {
                $debugBacktrace = debug_backtrace();

                $this->setDebugBacktrace(
                    $debugBacktrace
                );
            }

            // Some security by retrieving path by path
            $this->filenameOfCurrentClass = filename($debugBacktrace[0]['file']);
        }

        return $this->filenameOfCurrentClass;
    }
public function retrieveFilenameOfCurrentClass()
    {
        // Inline cache [expensive]
        if (null === $this->getFilenameOfCurrentClass()) {

            // Inline cache [expensive]
            if (null === $debugBacktrace = $this->getDebugBacktrace()) {
                $debugBacktrace = debug_backtrace();

                $this->setDebugBacktrace(
                    $debugBacktrace
                );
            }

            // Some security by retrieving path by path
            $this->filenameOfCurrentClass = filename($debugBacktrace[0]['file']);
        }

        return $this->filenameOfCurrentClass;
    }
public function retrieveFilenameOfCurrentClass ( ) { // Inline cache [expensive] if ( null === $ this -> getFilenameOfCurrentClass ( ) ) { // Inline cache [expensive] if ( null === $ debugBacktrace = $ this -> getDebugBacktrace ( ) ) { $ debugBacktrace = debug_backtrace ( ) ; $ this -> setDebugBacktrace ( $ debugBacktrace ) ; } // Some security by retrieving path by path $ this -> filenameOfCurrentClass = filename ( $ debugBacktrace [ 0 ] [ 'file' ] ) ; } return $ this -> filenameOfCurrentClass ; }
Getter for filenameOfCurrentClass.

@author Benjamin Carl <opensource@clickalicious.de>

@return array|null Stored filenameOfCurrentClass, or NULL
Getter for filenameOfCurrentClass .