Symfony\Component\Finder\Adapter\AbstractFindAdapter
Shell engine implementation using GNU find command.
- Author: Jean-François Simon <contact@jfsimon.fr>
Synopsis
class AbstractFindAdapter
extends AbstractAdapter
{
- // members
- protected Shell $shell;
- // Inherited members from AbstractAdapter
- protected $followLinks;
- protected integer $mode;
- protected integer $minDepth;
- protected $maxDepth;
- protected array $exclude;
- protected array $names;
- protected array $notNames;
- protected array $contains;
- protected array $notContains;
- protected array $sizes;
- protected array $dates;
- protected array $filters;
- protected $sort;
- protected array $paths;
- protected array $notPaths;
- protected $ignoreUnreadableDirs;
- // methods
- public void __construct()
- public void searchInDirectory()
- protected void canBeUsed()
- protected Command buildFindCommand()
- private void buildNamesFiltering()
- private void buildPathsFiltering()
- private void buildSizesFiltering()
- private void buildDatesFiltering()
- private void buildSorting()
- protected abstract void buildFormatSorting()
- protected abstract void buildContentFiltering()
- // Inherited methods from AbstractAdapter
- public void isSupported()
- public void setFollowLinks()
- public void setMode()
- public void setDepths()
- public void setExclude()
- public void setNames()
- public void setNotNames()
- public void setContains()
- public void setNotContains()
- public void setSizes()
- public void setDates()
- public void setFilters()
- public void setSort()
- public void setPath()
- public void setNotPath()
- public void ignoreUnreadableDirs()
- protected abstract Boolean canBeUsed()
Hierarchy
Extends
Extended by
Members
protected
- $contains
- $dates
- $exclude
- $filters
- $followLinks
- $ignoreUnreadableDirs
- $maxDepth
- $minDepth
- $mode
- $names
- $notContains
- $notNames
- $notPaths
- $paths
- $shell — Symfony\Component\Finder\Shell\Shell
- $sizes
- $sort
Methods
private
- buildDatesFiltering()
- buildNamesFiltering()
- buildPathsFiltering()
- buildSizesFiltering()
- buildSorting()
protected
- buildContentFiltering()
- buildFindCommand()
- buildFormatSorting()
- canBeUsed() — {@inheritdoc}
public
- __construct() — Constructor.
- searchInDirectory() — {@inheritdoc}
Inherited from Symfony\Component\Finder\Adapter\AbstractAdapter
protected
- canBeUsed() — Returns whether the adapter is supported in the current environment.
public
- ignoreUnreadableDirs() — {@inheritdoc}
- isSupported() — {@inheritDoc}
- setContains() — {@inheritdoc}
- setDates() — {@inheritdoc}
- setDepths() — {@inheritdoc}
- setExclude() — {@inheritdoc}
- setFilters() — {@inheritdoc}
- setFollowLinks() — {@inheritdoc}
- setMode() — {@inheritdoc}
- setNames() — {@inheritdoc}
- setNotContains() — {@inheritdoc}
- setNotNames() — {@inheritdoc}
- setNotPath() — {@inheritdoc}
- setPath() — {@inheritdoc}
- setSizes() — {@inheritdoc}
- setSort() — {@inheritdoc}