array( 'name' => 'text255', 'keyType' => 'text255', 'keyBody' => 'text', 'keyHash' => 'bytes32', 'keyComment' => 'text255?', ), self::CONFIG_KEY_SCHEMA => array( 'userPHID' => array( 'columns' => array('userPHID'), ), 'keyHash' => array( 'columns' => array('keyHash'), 'unique' => true, ), ), ) + parent::getConfiguration(); } public function getEntireKey() { $parts = array( $this->getKeyType(), $this->getKeyBody(), $this->getKeyComment(), ); return trim(implode(' ', $parts)); } }