Phactory\Sql\Association\ManyToOne::__construct PHP Method

__construct() public method

public __construct ( $to_table, $from_column = null, $to_column = null )
    public function __construct($to_table, $from_column = null, $to_column = null)
    {
        $this->setToColumn($to_column);
        $this->setFromColumn($from_column);
        $this->setToTable($to_table);
    }