Свойство | Тип | Описание | |
---|---|---|---|
$_batches | |||
$_options | |||
$_results | |||
$_sitemaps | |||
$_totalTime |
Метод | Описание | |
---|---|---|
askReplaceOrCompare ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $definedUrl, $foundUrl ) : boolean | integer | Asks the user what to do in case of a mismatched URL | |
askSitemapsToProcess ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | boolean | Asks the user which sitemaps from Magento's sitemap collection to process. | |
configure ( ) | Configure Command | |
convertTxtToXml ( $txt ) : string | Convert a txt URL list to XML using Magento sitemap structure. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : boolean | void | Executes command. | |
executeBatches ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | Executes all prepared batches of requests. | |
generateTablesData ( $results ) : array | boolean | Generates data to output in a table. | |
generateTablesDataForFormat ( $results ) : array | Generates table data without console styling. | |
getEffectiveUrl ( $url ) : mixed | Gets the effective URL by following the redirects. | |
getSitemapFromInput ( $options ) : array | boolean | Processes the sitemap data from input. | |
getStoreSitemaps ( ) : array | boolean | Gets the store sitemap collection. | |
getStrippedUrl ( $url ) : boolean | Strips the domain to only domain name and tld. | |
matchUrls ( $url, $match ) : mixed | Checks if URL's are identical. | |
parseResponseCode ( $code ) : boolean | string | Parses the response code colorized. | |
parseStatusMessage ( $result ) : string | Parses the status message for the user in between requests. | |
prepareRequests ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | Prepares all requests data by processing (sitemap) input. | |
replaceUrl ( $sitemapUrl, $replaceUrl ) : string | Replaces the URL by a regex strip. | |
replaceUrlByParse ( $sitemapUrl, $replaceUrl ) : mixed | Replaces the Sitemap URL | |
retrieveSitemaps ( ) : array | Retrieve the sitemapCollection | |
simpleCurl ( $url ) : array | A simple Curl function used to process the requests. | |
ttfbCompare ( $new, $old ) : string | Compare the TTFB Values and give colorized response if necessary. | |
validateUrl ( $url ) : boolean | Validates an URL |
protected askReplaceOrCompare ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $definedUrl, $foundUrl ) : boolean | integer | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
$definedUrl | ||
$foundUrl | ||
Результат | boolean | integer |
protected askSitemapsToProcess ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | boolean | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Результат | array | boolean |
protected convertTxtToXml ( $txt ) : string | ||
$txt | ||
Результат | string |
protected executeBatches ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Результат | array |
protected generateTablesData ( $results ) : array | boolean | ||
$results | ||
Результат | array | boolean |
protected generateTablesDataForFormat ( $results ) : array | ||
$results | ||
Результат | array |
protected getEffectiveUrl ( $url ) : mixed | ||
$url | ||
Результат | mixed |
protected getSitemapFromInput ( $options ) : array | boolean | ||
$options | ||
Результат | array | boolean |
protected getStoreSitemaps ( ) : array | boolean | ||
Результат | array | boolean |
protected getStrippedUrl ( $url ) : boolean | ||
$url | ||
Результат | boolean |
protected parseResponseCode ( $code ) : boolean | string | ||
$code | ||
Результат | boolean | string |
protected parseStatusMessage ( $result ) : string | ||
$result | ||
Результат | string |
protected prepareRequests ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Результат | mixed |
protected replaceUrl ( $sitemapUrl, $replaceUrl ) : string | ||
$sitemapUrl | ||
$replaceUrl | ||
Результат | string |
protected replaceUrlByParse ( $sitemapUrl, $replaceUrl ) : mixed | ||
$sitemapUrl | ||
$replaceUrl | ||
Результат | mixed |
protected retrieveSitemaps ( ) : array | ||
Результат | array |
protected simpleCurl ( $url ) : array | ||
$url | ||
Результат | array |
protected ttfbCompare ( $new, $old ) : string | ||
$new | ||
$old | ||
Результат | string |
protected validateUrl ( $url ) : boolean | ||
$url | ||
Результат | boolean |