public function toArray()
    {
        return [
            'id'          => $this->id,
            'module'      => $this->module,
            'bundle'      => $this->bundle,
            'position'    => $this->position,
            'name'        => $this->name,
            'description' => $this->description,
            'category'    => $this->category,
            'active'      => $this->active,
            'tags'        => $this->tags
        ];
    }
public function toArray()
    {
        return [
            'id'          => $this->id,
            'module'      => $this->module,
            'bundle'      => $this->bundle,
            'position'    => $this->position,
            'name'        => $this->name,
            'description' => $this->description,
            'category'    => $this->category,
            'active'      => $this->active,
            'tags'        => $this->tags
        ];
    }
public function toArray ( ) { return [ 'id' => $ this -> id , 'module' => $ this -> module , 'bundle' => $ this -> bundle , 'position' => $ this -> position , 'name' => $ this -> name , 'description' => $ this -> description , 'category' => $ this -> category , 'active' => $ this -> active , 'tags' => $ this -> tags ] ; }
Convenient method to convert the members to an assoc array
@return array the data
Convenient method to convert the members to an assoc array