public function buildClasses($basedir, OutputInterface $output)
    {
        $target = $this->ensureBuildDir($basedir, $output);

        foreach ($this->getClasses() as $element) {
            $element->build($target, $output);
        }
    }