protected function createFeature()
    {
        $feature = new Feature($this, $this->getId());
        $feature->setProperty('type', lcfirst(static::getType()));
        $feature->setProperty('options', $this->getOptions());

        return $feature;
    }
protected function createFeature()
    {
        $feature = new Feature($this, $this->getId());
        $feature->setProperty('type', lcfirst(static::getType()));
        $feature->setProperty('options', $this->getOptions());

        return $feature;
    }
protected function createFeature ( ) { $ feature = new Feature ( $ this , $ this -> getId ( ) ) ; $ feature -> setProperty ( 'type' , lcfirst ( static :: getType ( ) ) ) ; $ feature -> setProperty ( 'options' , $ this -> getOptions ( ) ) ; return $ feature ; }
Create feature of the given definition.

@return Feature
Create feature of the given definition .