Logger\Handler::_make_writeable PHP Метод

_make_writeable() защищенный Метод

This will create a non-blocking stream to the given file.
protected _make_writeable ( ) : boolean
Результат boolean
        protected function _make_writeable()
        {
            if (!is_resource($this->_output)) {
                if (!file_exists($this->_output)) {
                    touch($this->_output);
                }
                $this->_output = fopen($this->_output, 'w+');
                @stream_set_blocking($this->_output, false);
                return true;
            } else {
                @stream_set_blocking($this->_output, false);
            }
        }