src/Titon/Model/Model.php
public function toArray() {
        return array_map(function($value) {
            return ($value instanceof Arrayable) ? $value->toArray() : $value;
        }, $this->_attributes);
    }
public function toArray() {
        return array_map(function($value) {
            return ($value instanceof Arrayable) ? $value->toArray() : $value;
        }, $this->_attributes);
    }
public function toArray ( ) { return array_map ( function ( $ value ) { return ( $ value instanceof Arrayable ) ? $ value -> toArray ( ) : $ value ; } , $ this -> _attributes ) ; }
Return the model attributes as an array.

@return array
Return the model attributes as an array .