-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π§βπ» Improve Builder intellisense in child contexts (#221)
- Loading branch information
Showing
9 changed files
with
374 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
namespace Log1x\AcfComposer\Builder; | ||
|
||
use StoutLogic\AcfBuilder\AccordionBuilder as AccordionBuilderBase; | ||
|
||
/** | ||
* @method AccordionBuilder addAccordion(string $label, array $args = []) | ||
* @method \Log1x\AcfComposer\Builder addLayout(string|FieldsBuilder $layout, array $args = []) | ||
* @method \Log1x\AcfComposer\Builder endFlexibleContent() | ||
* @method \Log1x\AcfComposer\Builder endGroup() | ||
* @method \Log1x\AcfComposer\Builder endRepeater() | ||
* @method ChoiceFieldBuilder addButtonGroup(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addCheckbox(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addChoiceField(string $name, string $type, array $args = []) | ||
* @method ChoiceFieldBuilder addRadio(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addSelect(string $name, array $args = []) | ||
* @method FieldBuilder addColorPicker(string $name, array $args = []) | ||
* @method FieldBuilder addDatePicker(string $name, array $args = []) | ||
* @method FieldBuilder addDateTimePicker(string $name, array $args = []) | ||
* @method FieldBuilder addEmail(string $name, array $args = []) | ||
* @method FieldBuilder addField(string $name, string $type, array $args = []) | ||
* @method FieldBuilder addFields(FieldsBuilder|array $fields) | ||
* @method FieldBuilder addFile(string $name, array $args = []) | ||
* @method FieldBuilder addGallery(string $name, array $args = []) | ||
* @method FieldBuilder addGoogleMap(string $name, array $args = []) | ||
* @method FieldBuilder addImage(string $name, array $args = []) | ||
* @method FieldBuilder addLink(string $name, array $args = []) | ||
* @method FieldBuilder addMessage(string $label, string $message, array $args = []) | ||
* @method FieldBuilder addNumber(string $name, array $args = []) | ||
* @method FieldBuilder addOembed(string $name, array $args = []) | ||
* @method FieldBuilder addPageLink(string $name, array $args = []) | ||
* @method FieldBuilder addPartial(string $partial) | ||
* @method FieldBuilder addPassword(string $name, array $args = []) | ||
* @method FieldBuilder addPostObject(string $name, array $args = []) | ||
* @method FieldBuilder addRange(string $name, array $args = []) | ||
* @method FieldBuilder addRelationship(string $name, array $args = []) | ||
* @method FieldBuilder addTaxonomy(string $name, array $args = []) | ||
* @method FieldBuilder addText(string $name, array $args = []) | ||
* @method FieldBuilder addTextarea(string $name, array $args = []) | ||
* @method FieldBuilder addTimePicker(string $name, array $args = []) | ||
* @method FieldBuilder addTrueFalse(string $name, array $args = []) | ||
* @method FieldBuilder addUrl(string $name, array $args = []) | ||
* @method FieldBuilder addUser(string $name, array $args = []) | ||
* @method FieldBuilder addWysiwyg(string $name, array $args = []) | ||
* @method FlexibleContentBuilder addFlexibleContent(string $name, array $args = []) | ||
* @method GroupBuilder addGroup(string $name, array $args = []) | ||
* @method GroupBuilder end() | ||
* @method LocationBuilder setLocation(string $param, string $operator, string $value) | ||
* @method RepeaterBuilder addRepeater(string $name, array $args = []) | ||
* @method TabBuilder addTab(string $label, array $args = []) | ||
*/ | ||
class AccordionBuilder extends AccordionBuilderBase | ||
{ | ||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
namespace Log1x\AcfComposer\Builder; | ||
|
||
use StoutLogic\AcfBuilder\ChoiceFieldBuilder as ChoiceFieldBuilderBase; | ||
|
||
/** | ||
* @method AccordionBuilder addAccordion(string $label, array $args = []) | ||
* @method Builder addLayout(string|FieldsBuilder $layout, array $args = []) | ||
* @method Builder endFlexibleContent() | ||
* @method Builder endGroup() | ||
* @method Builder endRepeater() | ||
* @method ChoiceFieldBuilder addButtonGroup(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addCheckbox(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addChoiceField(string $name, string $type, array $args = []) | ||
* @method ChoiceFieldBuilder addRadio(string $name, array $args = []) | ||
* @method ChoiceFieldBuilder addSelect(string $name, array $args = []) | ||
* @method FieldBuilder addColorPicker(string $name, array $args = []) | ||
* @method FieldBuilder addDatePicker(string $name, array $args = []) | ||
* @method FieldBuilder addDateTimePicker(string $name, array $args = []) | ||
* @method FieldBuilder addEmail(string $name, array $args = []) | ||
* @method FieldBuilder addField(string $name, string $type, array $args = []) | ||
* @method FieldBuilder addFields(FieldsBuilder|array $fields) | ||
* @method FieldBuilder addFile(string $name, array $args = []) | ||
* @method FieldBuilder addGallery(string $name, array $args = []) | ||
* @method FieldBuilder addGoogleMap(string $name, array $args = []) | ||
* @method FieldBuilder addImage(string $name, array $args = []) | ||
* @method FieldBuilder addLink(string $name, array $args = []) | ||
* @method FieldBuilder addMessage(string $label, string $message, array $args = []) | ||
* @method FieldBuilder addNumber(string $name, array $args = []) | ||
* @method FieldBuilder addOembed(string $name, array $args = []) | ||
* @method FieldBuilder addPageLink(string $name, array $args = []) | ||
* @method FieldBuilder addPartial(string $partial) | ||
* @method FieldBuilder addPassword(string $name, array $args = []) | ||
* @method FieldBuilder addPostObject(string $name, array $args = []) | ||
* @method FieldBuilder addRange(string $name, array $args = []) | ||
* @method FieldBuilder addRelationship(string $name, array $args = []) | ||
* @method FieldBuilder addTaxonomy(string $name, array $args = []) | ||
* @method FieldBuilder addText(string $name, array $args = []) | ||
* @method FieldBuilder addTextarea(string $name, array $args = []) | ||
* @method FieldBuilder addTimePicker(string $name, array $args = []) | ||
* @method FieldBuilder addTrueFalse(string $name, array $args = []) | ||
* @method FieldBuilder addUrl(string $name, array $args = []) | ||
* @method FieldBuilder addUser(string $name, array $args = []) | ||
* @method FieldBuilder addWysiwyg(string $name, array $args = []) | ||
* @method FlexibleContentBuilder addFlexibleContent(string $name, array $args = []) | ||
* @method GroupBuilder addGroup(string $name, array $args = []) | ||
* @method GroupBuilder end() | ||
* @method LocationBuilder setLocation(string $param, string $operator, string $value) | ||
* @method RepeaterBuilder addRepeater(string $name, array $args = []) | ||
* @method TabBuilder addTab(string $label, array $args = []) | ||
*/ | ||
class ChoiceFieldBuilder extends ChoiceFieldBuilderBase | ||
{ | ||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.