src/Behat/Behat/Definition/Printer/ConsoleDefinitionInformationPrinter.php
private function extractFooter(Suite $suite, Definition $definition)
    {
        $lines = array();
        $lines[] = strtr(
            '{space}<def_dimmed>|</def_dimmed> at `{path}`', array(
                '{space}' => str_pad('', mb_strlen($suite->getName(), 'utf8') + 1),
                '{path}'  => $definition->getPath()
            )
        );

        if ($this->isVerbose()) {
            $lines[] = strtr(
                '{space}<def_dimmed>|</def_dimmed> on `{filepath}[{start}:{end}]`', array(
                    '{space}' => str_pad('', mb_strlen($suite->getName(), 'utf8') + 1),
                    '{filepath}' => $definition->getReflection()->getFileName(),
                    '{start}' => $definition->getReflection()->getStartLine(),
                    '{end}' => $definition->getReflection()->getEndLine()
                )
            );
        }

        return $lines;
    }
private function extractFooter(Suite $suite, Definition $definition)
    {
        $lines = array();
        $lines[] = strtr(
            '{space}<def_dimmed>|</def_dimmed> at `{path}`', array(
                '{space}' => str_pad('', mb_strlen($suite->getName(), 'utf8') + 1),
                '{path}'  => $definition->getPath()
            )
        );

        if ($this->isVerbose()) {
            $lines[] = strtr(
                '{space}<def_dimmed>|</def_dimmed> on `{filepath}[{start}:{end}]`', array(
                    '{space}' => str_pad('', mb_strlen($suite->getName(), 'utf8') + 1),
                    '{filepath}' => $definition->getReflection()->getFileName(),
                    '{start}' => $definition->getReflection()->getStartLine(),
                    '{end}' => $definition->getReflection()->getEndLine()
                )
            );
        }

        return $lines;
    }
private function extractFooter ( Suite $ suite , Definition $ definition ) { $ lines = array ( ) ; $ lines [ ] = strtr ( '{space}<def_dimmed>|</def_dimmed> at `{path}`' , array ( '{space}' => str_pad ( '' , mb_strlen ( $ suite -> getName ( ) , 'utf8' ) + 1 ) , '{path}' => $ definition -> getPath ( ) ) ) ; if ( $ this -> isVerbose ( ) ) { $ lines [ ] = strtr ( '{space}<def_dimmed>|</def_dimmed> on `{filepath}[{start}:{end}]`' , array ( '{space}' => str_pad ( '' , mb_strlen ( $ suite -> getName ( ) , 'utf8' ) + 1 ) , '{filepath}' => $ definition -> getReflection ( ) -> getFileName ( ) , '{start}' => $ definition -> getReflection ( ) -> getStartLine ( ) , '{end}' => $ definition -> getReflection ( ) -> getEndLine ( ) ) ) ; } return $ lines ; }
Extracts the formatted footer from the definition.

@param Suite      $suite
@param Definition $definition

@return string[]
Extracts the formatted footer from the definition .