src/AbstractModel.php
public function table()
    {
        if (!$this->_properties['table_name']) {
            $class = explode('\\', get_called_class());
            $this->_properties['table_name'] = Instance::snakecase(lcfirst(end($class)));
        }

        return $this->_properties['table_name'];
    }
public function table()
    {
        if (!$this->_properties['table_name']) {
            $class = explode('\\', get_called_class());
            $this->_properties['table_name'] = Instance::snakecase(lcfirst(end($class)));
        }

        return $this->_properties['table_name'];
    }
public function table ( ) { if ( ! $ this -> _properties [ 'table_name' ] ) { $ class = explode ( '\\' , get_called_class ( ) ) ; $ this -> _properties [ 'table_name' ] = Instance :: snakecase ( lcfirst ( end ( $ class ) ) ) ; } return $ this -> _properties [ 'table_name' ] ; }
Return table name
Return table name