public function getTable() : string
    {
        if(!empty($this->_table)) {
            return $this->_table;
        }

        $class = explode("\\", str_replace(self::$_baseNamespace, "", "\\".get_called_class()));
        $table = Str::snake(Str::plural($class));

        $this->_table = $table;

        return $this->_table;
    }
public function getTable() : string
    {
        if(!empty($this->_table)) {
            return $this->_table;
        }

        $class = explode("\\", str_replace(self::$_baseNamespace, "", "\\".get_called_class()));
        $table = Str::snake(Str::plural($class));

        $this->_table = $table;

        return $this->_table;
    }
public function getTable ( ) : string { if ( ! empty ( $ this -> _table ) ) { return $ this -> _table ; } $ class = explode ( "\\" , str_replace ( self :: $ _baseNamespace , "" , "\\" . get_called_class ( ) ) ) ; $ table = Str :: snake ( Str :: plural ( $ class ) ) ; $ this -> _table = $ table ; return $ this -> _table ; }
Builds and returns table name.

@return string Table name.
Builds and returns table name .