lib/components/dataInterface/ActionTrait.php
public function getLog()
    {
        if (!isset($this->_log)) {
            $this->_log = new DataInterfaceLog();
            if (!empty($this->interface)) {
                $this->_log->data_interface_id = $this->interface->interfaceObject->id;
            }
            $this->_log->status = 'running';
            $this->_log->started = date("Y-m-d G:i:s");
            $this->_log->peak_memory = memory_get_usage();
        }

        return $this->_log;
    }
public function getLog()
    {
        if (!isset($this->_log)) {
            $this->_log = new DataInterfaceLog();
            if (!empty($this->interface)) {
                $this->_log->data_interface_id = $this->interface->interfaceObject->id;
            }
            $this->_log->status = 'running';
            $this->_log->started = date("Y-m-d G:i:s");
            $this->_log->peak_memory = memory_get_usage();
        }

        return $this->_log;
    }
public function getLog ( ) { if ( ! isset ( $ this -> _log ) ) { $ this -> _log = new DataInterfaceLog ( ) ; if ( ! empty ( $ this -> interface ) ) { $ this -> _log -> data_interface_id = $ this -> interface -> interfaceObject -> id ; } $ this -> _log -> status = 'running' ; $ this -> _log -> started = date ( "Y-m-d G:i:s" ) ; $ this -> _log -> peak_memory = memory_get_usage ( ) ; } return $ this -> _log ; }
Get log.
Get log .