src/Titon/Db/Repository.php
public function getBehavior($alias) {
        if ($this->hasBehavior($alias)) {
            return $this->_behaviors[$alias];
        }

        throw new MissingBehaviorException(sprintf('Behavior %s does not exist', $alias));
    }
public function getBehavior($alias) {
        if ($this->hasBehavior($alias)) {
            return $this->_behaviors[$alias];
        }

        throw new MissingBehaviorException(sprintf('Behavior %s does not exist', $alias));
    }
public function getBehavior ( $ alias ) { if ( $ this -> hasBehavior ( $ alias ) ) { return $ this -> _behaviors [ $ alias ] ; } throw new MissingBehaviorException ( sprintf ( 'Behavior %s does not exist' , $ alias ) ) ; }
Return a behavior by alias.

@param string $alias
@return \Titon\Db\Behavior
@throws \Titon\Db\Exception\MissingBehaviorException
Return a behavior by alias .