public function find($type = null, array $options = [])
    {
        $type = $type ?: $this->getFinder();
        list($type, $opts) = $this->_extractFinder($type);

        return $this->getTarget()
            ->find($type, $options + $opts)
            ->where($this->getConditions());
    }
public function find($type = null, array $options = [])
    {
        $type = $type ?: $this->getFinder();
        list($type, $opts) = $this->_extractFinder($type);

        return $this->getTarget()
            ->find($type, $options + $opts)
            ->where($this->getConditions());
    }
public function find ( $ type = null , array $ options = [ ] ) { $ type = $ type ? : $ this -> getFinder ( ) ; list ( $ type , $ opts ) = $ this -> _extractFinder ( $ type ) ; return $ this -> getTarget ( ) -> find ( $ type , $ options + $ opts ) -> where ( $ this -> getConditions ( ) ) ; }
Proxies the finding operation to the target table's find method
and modifies the query accordingly based of this association
configuration

@param string|array|null $type the type of query to perform, if an array is passed,
it will be interpreted as the `$options` parameter
@param array $options The options to for the find
@see \Cake\ORM\Table::find()
@return \Cake\ORM\Query
Proxies the finding operation to the target table s find method and modifies the query accordingly based of this association configuration