File/src/PhpFile.php
public function save($data = null)
    {
        parent::save($data);

        // Invalidate configuration file from the opcache.
        if (\function_exists('opcache_invalidate')) {
            // PHP 5.5.5+
            @opcache_invalidate($this->filename, true);
        } elseif (\function_exists('apc_invalidate')) {
            // APC
            @apc_invalidate($this->filename);
        }
    }
public function save($data = null)
    {
        parent::save($data);

        // Invalidate configuration file from the opcache.
        if (\function_exists('opcache_invalidate')) {
            // PHP 5.5.5+
            @opcache_invalidate($this->filename, true);
        } elseif (\function_exists('apc_invalidate')) {
            // APC
            @apc_invalidate($this->filename);
        }
    }
public function save ( $ data = null ) { parent :: save ( $ data ) ; // Invalidate configuration file from the opcache. if ( \ function_exists ( 'opcache_invalidate' ) ) { // PHP 5.5.5+ @ opcache_invalidate ( $ this -> filename , true ) ; } elseif ( \ function_exists ( 'apc_invalidate' ) ) { // APC @ apc_invalidate ( $ this -> filename ) ; } }
Saves PHP file and invalidates opcache.

@param  mixed  $data  Optional data to be saved, usually array.
@throws \RuntimeException
Saves PHP file and invalidates opcache .